home *** CD-ROM | disk | FTP | other *** search
/ Young Minds / Young Minds Interactive CD-ROM.ISO / kriegspi / help < prev    next >
Encoding:
Text File  |  1987-06-30  |  8.4 KB  |  265 lines

  1.  
  2.  
  3.  
  4. KRIEGSPIEL(1)       UNIX Programmer's Manual        KRIEGSPIEL(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      kriegspiel - A Chess Variant
  10.  
  11. SYNOPSIS
  12.      ks [{+-}[bwcaprsdh]] user[@machine]
  13.      xks [{+-}[bwcaprs]] [display] [=geometry] user[@machine]
  14.  
  15. DESCRIPTION
  16.      _K_r_i_e_g_s_p_i_e_l is a chess variant in which each player cannot
  17.      see his opponents pieces.  The computer acts as a judge for
  18.      two players. The rules of Kriegspiel are discussed at the
  19.      end of this document.
  20.  
  21.      The game must be invoked separately by two users.  Various
  22.      options may be chosen in the command line; conflicting
  23.      options (such as if both players choose white) are resolved
  24.      with a flip of a coin.
  25.  
  26.      Moves may be specified in either algebraic or descriptive
  27.      notation.  Most standard methods will work.  For example,
  28.      all of the following are legal (and equivalent) for white's
  29.      first move:  p-k4, p/k2-k4, e2-e4, e4, pe4.  In descriptive
  30.      notation, use an 'x' for pawn takes (such as pxkb4), but do
  31.      not use an 'x' when taking using other pieces.  Castling can
  32.      be done with o-o (king side) and o-o-o (queen side), or by
  33.      moving the king two squares.
  34.  
  35.      The other commands available are:
  36.  
  37.      resign         I resign.
  38.      draw           Offer a draw.
  39.      help           Give examples of legal commands.
  40.      any            Can I take with any of my pawns?
  41.      say _s_t_r_i_n_g     Send message to opponent.
  42.      _C_o_n_t_r_o_l-_L      Redraw the screen (when typed at any time).
  43.  
  44.      _X_k_s is an version of the game for the X window system.
  45.      Pieces are moved with the left mouse button.  Other commands
  46.      are single letters on the keyboard.  Type 'h' for help after
  47.      game starts.
  48.  
  49.      Under the default options, you will be informed of the fol-
  50.      lowing information when applicable:
  51.      (1) your opponent tries an illegal move
  52.      (2) you or your opponent is in check from the appropriate direction
  53.      (3) your piece is taken (but not your opponent's piece is taken)
  54.      (4) your opponent asks `any', and the response
  55.  
  56.      The game ends if either player is checkmated or stalemated,
  57.      if both players have insufficient material, if either player
  58.      resigns, if both players agree on a draw, or the game can
  59.      end due to hardware error.  (But not if the same position
  60.  
  61.  
  62.  
  63. 2 May 1986        INTEGRATED SOLUTIONS 4.2 BSD                  1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. KRIEGSPIEL(1)       UNIX Programmer's Manual        KRIEGSPIEL(1)
  71.  
  72.  
  73.  
  74.      comes up three times or if the game goes 50 consecutive
  75.      moves without a piece take or pawn capture, as in ordinary
  76.      chess).
  77.  
  78.  
  79. OPTIONS
  80.      Some options preceded by a `-' will turn the option off.  If
  81.      the players choose conflicting option, then the option will
  82.      be chosen by a flip of a coin.
  83.  
  84.      -w             I wish to be white.  Negated by opponent
  85.                     choosing options `c' or `w'
  86.      -b             I wish to be black.  Negated by opponent
  87.                     choosing options `c' or `b'
  88.      -c             Force color to be chosen randomly.  This is
  89.                     the default if neither person chooses a
  90.                     color.
  91.      [+-]a          Announce to both players when a piece is
  92.                     taken, revealing also whether it was a pawn
  93.                     or a major piece that was taken.  Also
  94.                     announce if a pawn ever promotes.
  95.      [+-]p          Announce to both players how many possible
  96.                     ways the player to move can take with his
  97.                     pawns (if he can at all).  The player to move
  98.                     can only try three moves which take with his
  99.                     pawns.  If, after exhausting these three
  100.                     tries, the player's only legal move is to
  101.                     take with his pawn, then the player is check-
  102.                     mated or stalemated as appropriate.  If the
  103.                     player tries the same take twice, this will
  104.                     not be counted against him.  The `any' com-
  105.                     mand is ignored under this option.
  106.      -r             Reverse the direction from which algebraic
  107.                     moves are accepted if I am black.  (Thus,
  108.                     e2-e4 on black's first move would move the
  109.                     pawn in front of your king up two squares.
  110.                     Without this option set, the move would be
  111.                     entered as d7-d5 in algebaic)
  112.      -d             Dumb terminal:  Use this option if the graph-
  113.                     ics don't seem to be working well.  This may
  114.                     help.
  115.      -h             Print out this help file.
  116.      [+-]s          Make me the server.  This option should only
  117.                     be used as a last resort.  Invisibly to the
  118.                     user, one player is the server, and one is
  119.                     the client.  These are usually chosen by the
  120.                     program by a protocol.  If you're having
  121.                     troubles connecting with your opponent, then
  122.                     try the following:  One player invoke the
  123.                     program with the `+s' option, and one with
  124.                     the `-s' option.
  125.      _n              A number between one and a thousand to be
  126.  
  127.  
  128.  
  129. 2 May 1986        INTEGRATED SOLUTIONS 4.2 BSD                  2
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. KRIEGSPIEL(1)       UNIX Programmer's Manual        KRIEGSPIEL(1)
  137.  
  138.  
  139.  
  140.                     used as the port.  This option should only be
  141.                     used if you are having troubles connecting.
  142.                     Both players should select the same number
  143.                     between 1 and 1000 to be used to compute the
  144.                     port on which they communicate.
  145.  
  146. RULES
  147.      Kriegspiel is a chess variation dating back at least before
  148.      WWII.  It requires three people: two players and a judge.
  149.      The players sit back to back, each with a board with only
  150.      their own pieces.  The judge has a board between the
  151.      players, with the entire position.  Each player in his turn
  152.      tries different moves.  For each illegal move tried, the
  153.      judge says `illegal' aloud.  If a player is put into check,
  154.      this fact is said out loud, along with the direction from
  155.      which he/she is in check: Check along the file, rank, short
  156.      diagonal, long diagonal (from the point of view of the
  157.      king), and knight.  When the player makes a legal move, that
  158.      is the move he must play.
  159.  
  160.      Beyond this, the ammount of information the judge should
  161.      reveal is controversial.  The author prefers the following.
  162.      If a piece is taken, the judge (quietly) removes the piece
  163.      from the injured party's board.  On her/his turn, a person
  164.      may ask `any?', meaning `Are there any ways of taking any of
  165.      my opponent's pieces with any of my pawns?'  The judge
  166.      answers aloud `yes' or `no', as appropriate.  The reason
  167.      this rule is included is to speed up the game;  otherwise
  168.      each player would try all possible pawn takes at the start
  169.      of each turn.  The disadvantage with asking `any?' is that
  170.      the opponent also finds out the answer; the advantage is
  171.      that the player is under no obligation to actually take a
  172.      piece with one of his pawns, even if the answer is yes.
  173.      (Thus, he has gained information for free.)
  174.  
  175.      Some people prefer to play that takes are announced out
  176.      loud, along with whether the piece taken was a pawn or not,
  177.      allowing the players to have an idea how well their doing.
  178.      Furthermore, that it should be announced not only whether a
  179.      person has any available pawn tries, but also how many on
  180.      every move.  This extra information, it is said, makes the
  181.      game less chaotic and random, and keeps it from becoming
  182.      like Battleship.  However, the extra information is somewhat
  183.      tempered by the fact that a person may only try to take in
  184.      three different ways with his pawns, after which a pawn take
  185.      becomes illegal.
  186.  
  187. AUTHOR
  188.      David Wolfe
  189.  
  190. BUGS
  191.      There is no way of saving a game in progress.  This is
  192.  
  193.  
  194.  
  195. 2 May 1986        INTEGRATED SOLUTIONS 4.2 BSD                  3
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. KRIEGSPIEL(1)       UNIX Programmer's Manual        KRIEGSPIEL(1)
  203.  
  204.  
  205.  
  206.      particularly frustrating if you are playing on an unreliable
  207.      network:  If the network goes down, give it up...
  208.  
  209.      Other bugs, unknown.  Please notify Steve Schoch
  210.      <schoch@ames.arpa> or David Wolfe <wolfe@ernie.berkeley.edu>
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261. 2 May 1986        INTEGRATED SOLUTIONS 4.2 BSD                  4
  262.  
  263.  
  264.  
  265.